package com.tzjz.service.Impl;

import com.tzjz.entity.UserRoleRelation;
import com.tzjz.mapper.UserRoleRelationMapper;
import com.tzjz.service.UserRoleRelationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author renshuting
 * @date 2024/1/7 21:42
 */
@Service
public class UserRoleRelationServiceImpl implements UserRoleRelationService {
    @Resource
    private UserRoleRelationMapper userRoleRelationMapper;

    @Override
    public int insertUserRole(UserRoleRelation userRoleRelation) {
        return userRoleRelationMapper.insert(userRoleRelation);
    }
}
